//
//  PGFriendTrendsViewController.m
//  youqu
//
//  Created by 彭鹏 on 16/9/3.
//  Copyright © 2016年 pengpeng. All rights reserved.
//

#import "PGFriendTrendsViewController.h"
#import "PGLoginWithRegisterViewController.h"
#import "PGRecommmendViewController.h"


@interface PGFriendTrendsViewController ()

@end

@implementation PGFriendTrendsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = commonBgColor;
//    [self loginButtonClick];
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem barButtonItemWithImageNamed:@"friendsRecommentIcon" imageHighlighted:@"friendsRecommentIcon-click" target:self action:@selector(firendRecommnentClick)];
}

- (void)firendRecommnentClick {
    PGRecommmendViewController *recommmendViewController = [[PGRecommmendViewController alloc] init];
    recommmendViewController.navigationItem.title = @"推荐关注";
    [self.navigationController pushViewController:recommmendViewController animated:YES];
    
    
    
}


- (IBAction)loginButtonClick {
    PGLoginWithRegisterViewController *loginWithRegisterViewController = [[PGLoginWithRegisterViewController alloc] init];
    [self presentViewController:loginWithRegisterViewController animated:YES completion:nil];
    
}

@end
